cmake_minimum_required(VERSION 3.8)
project(read_byte)
file(READ "${PROJECT_SOURCE_DIR}/ReadByte.txt" read_var)
message(STATUS ${read_var})
file(READ "${PROJECT_SOURCE_DIR}/ReadByte.txt" read_var OFFSET 4)
message(STATUS ${read_var})
file(READ "${PROJECT_SOURCE_DIR}/ReadByte.txt" read_var OFFSET 4 LIMIT 2)
message(STATUS ${read_var})
file(READ "${PROJECT_SOURCE_DIR}/ReadByte.txt" read_var OFFSET 2 LIMIT 1 HEX)
message(STATUS ${read_var})
